<?php
// +----------------------------------------------------------------------
// | ZBPHP[基于ThinkPHP5.1开发]
// +----------------------------------------------------------------------
// | Copyright (c) 2016-2019 http://www.lwwan.com
// +----------------------------------------------------------------------
// | Author 似水星辰 [ 2630481389@qq.com ]
// +----------------------------------------------------------------------
// | 河南犇犇网络科技有限公司
// +----------------------------------------------------------------------

namespace app\operation\validate;


class Article extends \think\Validate
{
    //定义规则
    protected $rule = [
        'title' => 'require',
        'body' => 'require',
    ];

    protected $message = [
        'title.require' => '请输入标题',
        'body.require' => '请输入详细内容',
    ];

    // 定义验证场景
    protected $scene = [
    ];
}